package com.autumn.annotations.bean.config.condition;

import org.springframework.context.annotation.Condition;
import org.springframework.context.annotation.ConditionContext;
import org.springframework.core.type.AnnotatedTypeMetadata;

/**
 * ClassName: OSCondition
 *
 * @Description:
 * @Author: wangqiuyang
 * @Date: 2022/1/25 11:11 上午
 * History:
 * <author>          <time>          <version>          <desc>
 * wangqiuyang    2022/1/25 11:11 上午   @Version 1.0        描述
 */
public class OSCondition implements Condition {

    @Override
    public boolean matches(ConditionContext context, AnnotatedTypeMetadata metadata) {
        // 全部放行
        return true;
    }
}
